﻿
using AuthCenter.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AuthCenter.Application
{
    public class MyContext : DbContext
    {
        public MyContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<UserModel> UserModels { get; set; }
        public DbSet<CityModel> CityModels { get; set; }
        public DbSet<CountyModel> CountyModels { get; set; }
        public DbSet<ProvinceModel> ProvinceModels { get; set; }
        public DbSet<BaseModel> BaseModels { get; set; }
        public DbSet<RoleModel> RoleModels { get; set; }
        public DbSet<UserRoleModel> UserRoleModels { get; set; }
        public DbSet<MenuModel> MenuModels { get; set; }
        public DbSet<RoleMenuModel> RoleMenuModels { get; set; }
        public DbSet<ApplyModel> ApplyModels { get; set; }
        public DbSet<AuditModel> AuditModels { get; set; }
        public DbSet<MonthModel> MonthModels { get; set; }
    }
}
